package threads;

public class NomThread 
{
	public static void toto()
	{
		System.out.println("Nom du thread courant = "+ Thread.currentThread().getName());
	}
	
	public static void main(String[] args)
	{
		NomThread.toto();
		System.out.println("Nom du thread  courant = "+ Thread.currentThread().getName());
	}
}
